//
//  CommentView.m
//  一点互助
//
//  Created by rimi on 16/9/3.
//  Copyright © 2016年 zhangboqiu. All rights reserved.
//

#import "CommentView.h"

@implementation CommentView
+(instancetype)loadView{
    UINib *nib = [UINib nibWithNibName:@"CommentView" bundle:nil];
    CommentView *view = [[nib instantiateWithOwner:nil options:nil]firstObject];
    return view;
}


-(void)layoutSubviews{
    [super layoutSubviews];
    self.btn.layer.cornerRadius = self.btn.bounds.size.height/4;
}

- (IBAction)sendBtnTaped:(id)sender {
    if ([_delegate respondsToSelector:@selector(sendBtnTaped:)]) {
        PLLOG(@"sendBtn");
        [_delegate sendBtnTaped:sender];
    }else{
        
    }
    
}


@end
